package com.ficus.road.maintain.core.model.digitalTwin;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ficus.road.maintain.core.model.Hit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Frame {
    @Id
    private String id;

    private String roadId;

    private Long timestamp;

    private GpsResult location;

    private Date creationTime;

    private List<Asset> assets;

    private LaneInfo laneInfo;

    private List<Hit> hits;

    private String picUrl;

    private String assetMaskPicUrl;
}
